<?php $this->Session->flash(); ?>

<?php
echo $form->create('User');
echo $form->input("User.id", array('label' => 'Nombres', 'id' => 'usr'));
echo $form->input("User.nombre", array('label' => 'Nombres', 'id' => 'usr'));
echo $form->input("User.primer_apellido", array('label' => 'Primer Apellido', 'id' => 'usr'));
echo $form->input("User.segundo_apellido", array('label' => 'Segundo Apellido', 'id' => 'usr'));
echo $form->input("User.email", array('label' => 'Correo electrónico', 'id' => 'usr'));
echo $form->input("User.cedula", array('label' => 'Cédula', 'id' => 'usr'));
echo $form->input("User.telefono", array('label' => 'Teléfono', 'id' => 'usr'));
echo $form->input("User.password", array('value' => '', 'label' => 'Contraseña', 'id' => 'usr'));
echo $form->input('User.password_confirm', array('label' => 'Confirmar Contraseña', "type" => 'password', 'value' => '', 'id' => 'usr'));
echo $ajax->submit('Guardar', array('url' => array('controller' => 'Users', 'action' => 'edit_user'), 'update' => 'content', 'complete' => '', 'indicator' => 'loading'));
echo $form->end();

?>


<img src="img/loading.gif" id="loading" style="display:none">
